﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.Entity.Articles
{
    /// <summary>
    /// 文章分类
    /// </summary>
    [SugarTable("t_article_cate")]
    public class ArticleCate
    {
        /// <summary>
        /// 文章分类ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int category_id { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 分类状态（1显示 0隐藏）
        /// </summary>
        public int status { get; set; } = 1;
        /// <summary>
        /// 排序方式（数字越小越靠前）
        /// </summary>
        public int sort { get; set; } = 100;
    }
}
